<h1>Optiondiverss List</h1>

<table>
  <thead>
    <tr>
      <th>Id option</th>
      <th>Nom option</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($optiondiverss as $optiondivers): ?>
    <tr>
      <td><a href="<?php echo url_for('Optiondivers/show?id_option='.$optiondivers->getIdOption()) ?>"><?php echo $optiondivers->getIdOption() ?></a></td>
      <td><?php echo $optiondivers->getNomOption() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

  <a href="<?php echo url_for('Optiondivers/new') ?>">New</a>
